<table width="100%">
<tr>
							<td width="28%" <?php echo $col_r; ?>><a class="updateLink" rel="tooltip" title="Images" data-toggle="modal" href="#imgitemModal_pro_<?php echo $p_data['itemId'] ?>"><?php echo $p_data['itemName']; ?></a>
							<div class="j-modal">
							<div id="imgitemModal_pro_<?php echo $p_data['itemId']; ?>" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" style="width:800px;">
								<div class="modal-header">      
									   <div class="j-left">
										<?php
											if(strlen($p_data['image'])>0){
										?>
											 <img src="timthumb.php?src=<?php echo curPageURL_folder().str_replace("../../","",$p_data['image']); ?>&w=350" class="thumbnail" />
										<?php
											}else{
										?>
											  <img src="timthumb.php?src=<?php echo curPageURL_folder()."productimages/noimage.jpg&w=350"; ?>" class="thumbnail" />
										<?php		
											}
										?>
										</div>
										<div class="j-right" id="productsContainer" style="width:400px;">
											<div class="productTitle">
											  <span class="economicaBold"><?php echo $p_data['itemName']; ?></span><br/>
											  <font class="economicaBold" style="color:#00545c"><?php echo $p_data['itemDesc']; ?></font>
												
											  <p class="single-add"><a href="javascript:void(0);" onClick="AddProJs('cart.php?action=add_item&amp;id=<?php echo $p_data['itemId']; ?>','qty<?php echo $p_data['itemId']; ?>')" style="float:left;">add this to cart</a>
											  <input type="text" size="2" value="1" id="qty<?php echo $p_data['itemId']; ?>" style="margin-left:10px; width:30px; margin-top:8px; text-align:right;">
											  </p>
												
												
											 </div>
                                            
                                             
											 <p>
												<a href="#" target="_blank"><font style="color:#00a7bc">›</font> Product picture (1.21 MB)</a>
											  </p>
                                              
                                              
                                               <ul>
                                               <?php
											   	$getcat = mysql_query("SELECT * FROM cat_items, category WHERE category.id = cat_items.cat_id AND item_id = ".$p_data['itemId']." ORDER BY category.name");	
												while($catt_row = mysql_fetch_array($getcat)){
											   ?>
                                               		<li><?php echo $catt_row['name']; ?></li>
                                               <?php
												}
											   ?>
                                               </ul>
                                              
										</div>
										<div class="clear"></div>
								</div>
								<div class="modal-footer">
									<div class="j-left ">
										<a href="cart-canvas.php" class="j-cart" style="float:left;"></a>
										<span style="margin-top:5px; margin-left:10px; float:left;"><?php cartStatus(); ?></span>
										<div class="clear"></div>
									</div>
									<button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
								</div>
						   </div>
						   </div>
							
							</td>
							<td width="8%" <?php echo $col_r; ?>><?php echo $p_data['wattage']; ?></td>
							<td width="22%" <?php echo $col_r; ?>><?php echo $p_data['halogenWatt']; ?></td>
							<td width="8%" <?php echo $col_r; ?>><?php echo $p_data['socket']; ?></td>
							<td width="13%" <?php echo $col_r; ?>><?php echo $p_data['beamInt']; ?></td>
							<td width="11%" <?php echo $col_r; ?>><?php echo $p_data['beamAngle']; ?></td>
							<td width="10%" <?php echo $col_r; ?>><?php echo $p_data['lifetime']; ?></td>
						</tr>
		 </table>